package design_pattern.adapter;

public class SchoolAdapter extends SchoolController {
    private Forum forum;
    private ScoreSearch scoreSearch;

    public SchoolAdapter() {
        this.forum = new Forum();
        this.scoreSearch = new ScoreSearch();
    }

    @Override
    public void searchScore() {
        scoreSearch.schoolScoreSearch();
    }

    @Override
    public void useForum() {
        forum.schoolForum();
    }
}
